/* 全局样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f5f7fa;
}

#app {
  height: 100vh;
  width: 100%;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #c0c4cc;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #909399;
}

/* Element UI 样式覆盖 */
.el-upload-list {
  position: fixed !important;
  top: 60px;
  right: 20px;
  z-index: 9999;
  max-width: 300px;
}

.el-tree-node__content:hover {
  background-color: #ecf5ff;
}

.el-tree-node.is-dragging {
  opacity: 0.5;
}

.el-tree__placeholder {
  background-color: #f0f9eb;
  border: 1px dashed #67c23a;
}
